package com.regent.central.bill.core;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "central_action_delivery_goods_sku")
public class DeliveryGoodsSKU {
    /**
     * 发货货品SKU ID
     */
    @Id
    private String id;

    /**
     * 发货货品ID
     */
    @Column(name = "central_action_delivery_goods_id")
    private String centralActionDeliveryGoodsId;

    /**
     * SKU ID
     */
    @Column(name = "sku_id")
    private String skuId;

    /**
     * SKU 数量
     */
    private BigDecimal quantity;

    /**
     * 发货SKU单价快照
     */
    private BigDecimal price;

    /**
     * 记录版本
     */
    private Integer version;

    /**
     * 创建时间
     */
    @Column(name = "date_created")
    private Date dateCreated;

    /**
     * 创建人员
     */
    @Column(name = "user_created")
    private String userCreated;

    /**
     * 最后更新时间
     */
    @Column(name = "last_updated")
    private Date lastUpdated;

    /**
     * 最后更新人员
     */
    @Column(name = "user_updated")
    private String userUpdated;

    /**
     * 删除时间
     */
    @Column(name = "time_deleted")
    private Long timeDeleted;

    /**
     * 删除人员
     */
    @Column(name = "user_deleted")
    private String userDeleted;

    /**
     * 获取发货货品SKU ID
     *
     * @return id - 发货货品SKU ID
     */
    public String getId() {
        return id;
    }

    /**
     * 设置发货货品SKU ID
     *
     * @param id 发货货品SKU ID
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取发货货品ID
     *
     * @return central_action_delivery_goods_id - 发货货品ID
     */
    public String getCentralActionDeliveryGoodsId() {
        return centralActionDeliveryGoodsId;
    }

    /**
     * 设置发货货品ID
     *
     * @param centralActionDeliveryGoodsId 发货货品ID
     */
    public void setCentralActionDeliveryGoodsId(String centralActionDeliveryGoodsId) {
        this.centralActionDeliveryGoodsId = centralActionDeliveryGoodsId;
    }

    /**
     * 获取SKU ID
     *
     * @return sku_id - SKU ID
     */
    public String getSkuId() {
        return skuId;
    }

    /**
     * 设置SKU ID
     *
     * @param skuId SKU ID
     */
    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取SKU 数量
     *
     * @return quantity - SKU 数量
     */
    public BigDecimal getQuantity() {
        return quantity;
    }

    /**
     * 设置SKU 数量
     *
     * @param quantity SKU 数量
     */
    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    /**
     * 获取发货SKU单价快照
     *
     * @return price - 发货SKU单价快照
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 设置发货SKU单价快照
     *
     * @param price 发货SKU单价快照
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取记录版本
     *
     * @return version - 记录版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置记录版本
     *
     * @param version 记录版本
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * 获取创建时间
     *
     * @return date_created - 创建时间
     */
    public Date getDateCreated() {
        return dateCreated;
    }

    /**
     * 设置创建时间
     *
     * @param dateCreated 创建时间
     */
    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    /**
     * 获取创建人员
     *
     * @return user_created - 创建人员
     */
    public String getUserCreated() {
        return userCreated;
    }

    /**
     * 设置创建人员
     *
     * @param userCreated 创建人员
     */
    public void setUserCreated(String userCreated) {
        this.userCreated = userCreated;
    }

    /**
     * 获取最后更新时间
     *
     * @return last_updated - 最后更新时间
     */
    public Date getLastUpdated() {
        return lastUpdated;
    }

    /**
     * 设置最后更新时间
     *
     * @param lastUpdated 最后更新时间
     */
    public void setLastUpdated(Date lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    /**
     * 获取最后更新人员
     *
     * @return user_updated - 最后更新人员
     */
    public String getUserUpdated() {
        return userUpdated;
    }

    /**
     * 设置最后更新人员
     *
     * @param userUpdated 最后更新人员
     */
    public void setUserUpdated(String userUpdated) {
        this.userUpdated = userUpdated;
    }

    /**
     * 获取删除时间
     *
     * @return time_deleted - 删除时间
     */
    public Long getTimeDeleted() {
        return timeDeleted;
    }

    /**
     * 设置删除时间
     *
     * @param timeDeleted 删除时间
     */
    public void setTimeDeleted(Long timeDeleted) {
        this.timeDeleted = timeDeleted;
    }

    /**
     * 获取删除人员
     *
     * @return user_deleted - 删除人员
     */
    public String getUserDeleted() {
        return userDeleted;
    }

    /**
     * 设置删除人员
     *
     * @param userDeleted 删除人员
     */
    public void setUserDeleted(String userDeleted) {
        this.userDeleted = userDeleted;
    }
}